package com.team.cloudsharing.service.folder;

import com.team.cloudsharing.dao.folder.FolderDO;
import com.team.cloudsharing.dto.Folder;
import com.team.cloudsharing.dto.FolderInformation;
import com.team.cloudsharing.dto.PathDTO;

public interface FolderService {
	
	public String createFolder(Folder folder);
	
	public String createFolderROOT(Folder folder);

	public String moveFolderToTrash(Folder folder);

	public String restoreFolderFromTrash(Folder folder);

	public String restoreFolderWithFolderParent(Folder folder, boolean isRestoreAll);

	public String deleteFolder(Folder folder);

	public boolean isFolderExist(long folderIdParent, String nameFolderCheckExist);

	public String renameFolder(PathDTO folderPath);

	public FolderInformation getFolderInfomation(String userEmail, String folderPath);

	public FolderDO getRealFolderDOFromShareFolder(String folderPath, String userEmail);
	
	public String getFolderUrlByFolderId(String folderId);

	String moveFolderToAnotherFolder(PathDTO pathDTO);

	Folder getFolderInformationById(Long folderId);

	public Folder downloadFolder(String folderUrl);

}
